// SPDX-FileCopyrightText: Copyright 2025-2025 深圳市同心圆网络有限公司
// SPDX-License-Identifier: GPL-3.0-only

package core

import (
	"context"

	"gitcode.com/openseaotter/so_proto_gen_go.git/watch_api"
)

type ChangeDao interface {
	Insert(ctx context.Context, info *watch_api.ChangeInfo) error
	Get(ctx context.Context, watchId, changeId string) (*watch_api.ChangeInfo, error)
	Count(ctx context.Context, watchId string) (uint32, error)
	List(ctx context.Context, watchId string) ([]*watch_api.ChangeInfo, error)
	RemoveByWatch(ctx context.Context, watchId string) error
}
